package io.renren.modules.substation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.substation.entity.DevDetailInfo;
import io.renren.modules.substation.entity.TBaseDictInfoEntity;
import io.renren.modules.substation.entity.TBusiDevMonitorInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 设备监测信息实时表
 *
 * @author yzx
 * @email sunlightcs@gmail.com
 * @date 2020-06-20 11:20:38
 */
public interface TBusiDevMonitorInfoService extends IService<TBusiDevMonitorInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<TBusiDevMonitorInfoEntity> queryMonitorByCondition(TBusiDevMonitorInfoEntity tBusiDevMonitorInfoEntity);



    int countAllMeasureBySta(Map<String, Object> param);

    int countNormalMeasureBySta(Map<String, Object> param);

    List<TBusiDevMonitorInfoEntity> getDevDataByDev(Map<String, Object> param);

    int updateMonitorByCode (TBusiDevMonitorInfoEntity tBusiDevMonitorInfoEntity);

    int updateMonitorByCodeKindDesc (TBusiDevMonitorInfoEntity tBusiDevMonitorInfoEntity);

    int countAllMeasureByArea(String subAreaStr);

    int countNormalMeasureByArea(String subAreaStr);

    List<TBusiDevMonitorInfoEntity> countAllMeasureGroup();
    List<TBusiDevMonitorInfoEntity> countNormalMeasureGroup();
}

